home *** CD-ROM | disk | FTP | other *** search
- /********************************************************************************/
- /* ARexx program TeXifySetMacro V 1.02 (Jun 91) */
- /* */
- /* With this ARexx program you can set TeX's */
- /* macropackage from within CEDPro. TeXify */
- /* will notice a macro change. This program is */
- /* part of the great TeXify package and may */
- /* only be spread as part of it. For further */
- /* Copyright 1990 information see the additional readme and */
- /* by Wolf-Juergen Faust arexx files you MUST get with this program ! */
- /* Am Dorfgarten 10 For a new TeXify version call FIDO */
- /* W-6000 Frankfurt 50 +(49) 6173 2544 (HST DS) or contact me... */
- /* Germany */
- /* FIDO: 2:243/43.5 (Wolf Faust) */
- /* UUCP: cbmvax.commodore.com!cbmehq!cbmger!venus!wfaust */
- /* Tel: +(49) 69 5486556 */
- /* */
- /* YOU MUST ADOPT THE FIRST COMMAND TO YOUR ENVIRONMENT !!!!!!!!!!!! */
- /* ================================================================= */
- /* */
- /* Versions needed: */
- /* ARexx >= V 1.15 */
- /* CEDPro>= V 2.00 */
- /* TeX >= V 3.1d */
- /********************************************************************************/
-
- /* Insert path for Commo's "Setenv" command: */
- setpath = "Setenv"
-
- /*** START ***/
- /*** program receives answers ***/
- options results
-
- /*** now lets get to business with CygnusEd ***/
- address 'rexx_ced'
-
- 'GetString' "plain" "Macropackage ?"
- macro = result
- if (macro="") | (macro="RESULT") then do
- okay1 "No selection ?? Aborted..."
- exit
- end
- okay2 "Set macropackage = "||macro||" ?"
- if ( result = 0) then exit
-
- address command setpath||' texformat '||macro
- if (show('P','AMIGATEX')) then address 'AMIGATEX' 'Exit'
-